package com.zjcloud.jwgl.domain;

import com.zjcloud.common.annotation.Excel;
import com.zjcloud.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程安排对象 ac_lesson_schedule
 * 
 * @author wxl
 * @date 2024-09-13
 */
public class AcLessonSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 教师ID */
    @Excel(name = "教师ID")
    private Long teacherId;

    /** 教室ID */
    @Excel(name = "教室ID")
    private Long classroomId;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 星期几(1-7) */
    @Excel(name = "星期几(1-7)")
    private Integer weekDay;

    /** 第几节课(1-12) */
    @Excel(name = "第几节课(1-12)")
    private Integer lessonNo;

    /** 学期 */
    @Excel(name = "学期")
    private String semester;

    /** 教师偏好权重(0-100) */
    @Excel(name = "教师偏好权重")
    private Integer teacherPreference;

    /** 状态(0正常 1冲突) */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setClassroomId(Long classroomId) 
    {
        this.classroomId = classroomId;
    }

    public Long getClassroomId() 
    {
        return classroomId;
    }

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }

    public void setWeekDay(Integer weekDay) 
    {
        this.weekDay = weekDay;
    }

    public Integer getWeekDay() 
    {
        return weekDay;
    }

    public void setLessonNo(Integer lessonNo) 
    {
        this.lessonNo = lessonNo;
    }

    public Integer getLessonNo() 
    {
        return lessonNo;
    }

    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }

    public void setTeacherPreference(Integer teacherPreference) 
    {
        this.teacherPreference = teacherPreference;
    }

    public Integer getTeacherPreference() 
    {
        return teacherPreference;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("teacherId", getTeacherId())
            .append("classroomId", getClassroomId())
            .append("classId", getClassId())
            .append("weekDay", getWeekDay())
            .append("lessonNo", getLessonNo())
            .append("semester", getSemester())
            .append("teacherPreference", getTeacherPreference())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}